package com.sunfeng.n5;

/**
 * @author sunfeng
 * @date 2021/04/13 16:53
 **/
public final class Singleton {
    private Singleton() {
    }
    private static Singleton INSTANCE = null;
    public static synchronized Singleton getInstance() {
        if (INSTANCE == null) {
            INSTANCE = new Singleton();
        }
        return INSTANCE;
    }
}